<?php
/**
 * User zgh
 * Email 1803897171@qq.com
 * Date 2022/1/14
 **/

namespace app\admin\service;


use app\common\model\AdminRoleModel;

class AdminRoleService
{
    public static function getAdminRoles($admin_id)
    {
        return (AdminRoleModel::where(["admin_id" => $admin_id])->column("role_id") ?: []);
    }
}